#include <iostream>
#include <string>
#include <ctype.h>
using namespace std;
int main() {
  string str, res;
  cin >> str;
  for (auto& c : str) {
    if (isalpha(c)) res += c;
  }
  cout << res << endl;
}